Skip to main content

All Questions

3votes
2answers
755views

Implementation of tree with different node types and faux-polymorphism in C

I'm currently learning C by working on my first project. It's a calculator with a parser that transforms input into an operator tree. These trees consist of nodes of different types: Operators (inner ...
PhilippHochmann's user avatar
6votes
2answers
323views

Dynamically sized queue

This is my first deep dive into C, and I want to make sure that I'm not doing anything stupid. The code below creates an "Array List" of sorts, which automatically resizes itself. This code is meant ...
t3ddftw's user avatar
6votes
2answers
915views

Mimicking classes with structs in C

I'm trying to mimic classes. Is there anything with this code that I should not do with C or any ways that I can improve it at all, such as best practices or anything? structs.h ...
izzzi's user avatar

close